package fr.afcepf.atod16.groupe1.projet3;
import java.util.HashMap;

/**
 *
 * @author G
 */
public class MonStrutsParams {
 
    private Class actionName;
    private String formName;
    private String errorPath;
    private Class formClass;
    private HashMap<String,String> forwards = new HashMap<String, String>();

    public String getErrorPath() {
        return errorPath;
    }

    public void setErrorPath(String errorPath) {
        this.errorPath = errorPath;
    }

    public HashMap<String, String> getFowards() {
        return forwards;
    }
    
    public void setFowards(HashMap<String, String> fowards) {
        this.forwards = fowards;
    }

    public String getFormName() {
        return formName;
    }

    public void setFormName(String formName) {
        this.formName = formName;
    }

    public Class getActionName() {
        return actionName;
    }

    public void setActionName(Class actionName) {
        this.actionName = actionName;
    }

    public Class getFormClass() {
        return formClass;
    }

    public void setFormClass(Class formClass) {
        this.formClass = formClass;
    }

    public HashMap<String, String> getForwards() {
        return forwards;
    }

    public void setForwards(HashMap<String, String> forwards) {
        this.forwards = forwards;
    }

    @Override
    public String toString() {
        return "MonStrutsParams{" + "actionName=" + actionName + ", formName=" + formName + ", errorPath=" + errorPath + ", formClass=" + formClass + ", forwards=" + forwards + '}';
    }
    
}
